using System;
using System.Collections.Generic;
using System.Text;

namespace tp2
{
    public class Punto
    {
        private double x = 0;
        private double y = 0;
        private double z = 0;

        public Punto()
        {
        }

        public Punto(double x, double y, double z)
        {
            this.x = x;
            this.y = y;
            this.z = z;
        }

        public Punto(double x, double y)
        {
            this.x = x;
            this.y = y;
        }

        #region Propiedades
        public double X
        {
            set { x = value; }
            get { return x; }
        }

        public double Y
        {
            set { y = value; }
            get { return y; }
        }

        public double Z
        {
            set { z = value; }
            get { return z; }
        }
        #endregion
       
    }
}
